import React from 'react';
import { connect } from 'react-redux';
import MyCustomerDetail from '../components/Home/details/MyCustomerDetail';

class MyCustomerDetailContainer extends React.Component {
  render() {
    return (
      <MyCustomerDetail {...this.props} />
    );
  }
}

export default connect((state) => {
  const { data, visit, aVisitRemind } = state.MyCustomerDetailReducer;
  const { stageObj, userIdStore } = state.UserStageReducer;
  return {
    data,
    visit,
    aVisitRemind,
    stageObj,
    userIdStore,
  };
})(MyCustomerDetailContainer);
